Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Jakarta data issue #2182 #2223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anija-anil
Copy link
Contributor

This PR includes the fix for #2182. (Jakarta Data issue ).
This will work with a query like below comes from Jakarta Data

[SELECT hexadecimal FROM AsciiCharacter WHERE hexadecimal IS NOT NULL AND thisCharacter = ?1].

Please note : This is not a generic solution for all SELECT queries. This will only work for the above-mentioned Jakarta SELECT queries and other straight SELECT queries without an Identification variable.

@rfelcman
Copy link
Contributor

Hello,

there are JPQL promised PRs which You can analyze and take as a starting point.

Jakarta Persistence 3.2 new feature - JPQL functions ID(), VERSION() #2108
Jakarta Persistence 3.2: JPQL generate missing Entity default this alias in simple SELECT queries #2102
Jakarta Persistence 3.2 new feature - JPQL UNION, INTERSECT, EXCEPT, CAST #1937
Jakarta Persistence 3.2 new feature - JPQL functions LEFT(), RIGHT() #1933
Jakarta Persistence 3.2 new feature - JPQL functions REPLACE() #1924
New JPQL 3.2 and || as a String concat operator #1903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants